Curry-Howard for incomplete first-order logic derivations using one-and-a-half level terms

نویسندگان

  • Murdoch James Gabbay
  • Dominic P. Mulligan
چکیده

The Curry-Howard correspondence connects natural deduction derivation with the lambdacalculus. Predicates are types, derivations are terms. This supports reasoning from assumptions to conclusions, but we may want to reason backwards; from the desired conclusion towards the assumptions. At intermediate stages we may have a partial derivation, with holes. This is natural in informal practice but it can be difficult to formalise. The informal act of filling holes in a partial derivation suggests a capturing substitution, since holes may occur in the scope of quantifier introduction rules. As other authors have observed, this is not immediately supported by the lambda-calculus. Also, universal quantification requires a ‘fresh name’ and it is not immediately obvious what formal meaning to assign to this notion if derivations are incomplete. Further issues arise with proof-normalisation; this corresponds with lambda-calculus reduction, which can require alpha-conversion to avoid capture when beta-reducing, and it is not immediately clear how to alpha-convert a name in an incomplete derivation. We apply a one-and-a-half level technique based on nominal terms to construct a Curry-Howard correspondence for first-order logic. This features two levels of variable, but with no lambda-abstraction at the second level. Predicates are types, derivations are terms, proof-normalisation is reduction — and the two levels of variable are respectively the assumptions and the holes of an incomplete derivation. We give notions of proof-term, typing, alpha-conversion and beta-reduction for our syntax. We prove confluence, we exhibit several admissible rules including a proof that instantiation of level two variables is type-safe — this corresponds with the act of filling holes in an incomplete derivation, and can be viewed as a form of Cut-rule — and we explore the connection with traditional Curry-Howard in the case that the derivation is in fact complete. Our techniques are not specifically tailored to first-order logic and the same ideas should be applicable without any essential new difficulties to similar logical systems. 1http://www.gabbay.org.uk http://www.macs.hw.ac.uk/ ̃dpm8 Preprint submitted to Elsevier September 1, 2009

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

One-and-a-Halfth Order Terms: Curry-Howard and Incomplete Derivations

The Curry-Howard correspondence connects Natural Deduction derivation with the lambda-calculus. Predicates are types, derivations are terms. This supports reasoning from assumptions to conclusions, but we may want to reason ‘backwards’ from the desired conclusion towards the assumptions. At intermediate stages we may have an ‘incomplete derivation’, with ‘holes’. This is natural in informal pra...

متن کامل

Systems of Illative Combinatory Logic Complete for First-Order Propositional and Predicate Calculus

Illative combinatory logic consists of the theory of combinators or lambda calculus extended by extra constants (and corresponding axioms and rules) intended to capture inference. The paper considers systems of illative combinatory logic that are sound for first-order propositional and predicate calculus. The interpretation from ordinary logic into the illative systems can be done in two ways: ...

متن کامل

On Natural Deduction for Herbrand Constructive Logics II: Curry-Howard Correspondence for Markov's Principle in First-Order Logic and Arithmetic

Intuitionistic first-order logic extended with a restricted form of Markov’s principle is constructive and admits a Curry-Howard correspondence, as shown by Herbelin. We provide a simpler proof of that result and then we study intuitionistic first-order logic extended with unrestricted Markov’s principle. Starting from classical natural deduction, we restrict the excluded middle and we obtain a...

متن کامل

Curry-Howard Terms for Linear Logic

In this paper we 1. provide a natural deduction system for full rst-order linear logic, 2. introduce Curry{Howard{style terms for this version of linear logic, 3. extend the notion of substitution of Curry-Howard terms for term variables, 4. deene the reduction rules for the Curry{Howard terms and 5. outline a proof of the strong normalization for the full system of linear logic using a develop...

متن کامل

On Natural Deduction for Herbrand Constructive Logics I: Curry-Howard Correspondence for Dummett's Logic LC

Dummett’s logic LC is intuitionistic logic extended with Dummett’s axiom: for every two statements the first implies the second or the second implies the first. We present a natural deduction and a Curry-Howard correspondence for first-order and secondorder Dummett’s logic. We add to the lambda calculus an operator which represents, from the viewpoint of programming, a mechanism for representin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Inf. Comput.

دوره 208  شماره 

صفحات  -

تاریخ انتشار 2010